TARGET = Capture

all:$(TARGET)
	@echo ""
	@echo "Compilation completed"
	@echo ""
	scp $(TARGET) root@192.168.255.47:/mnt
	@echo "Send $(TARGET) to Arm!"


SRC  = $(wildcard *.c)

$(TARGET):$(SRC)
	arm-linux-gnueabihf-gcc $^ -I inc -o $@

.PHONY:clean
clean:
	rm -f $(TARGET)